package com.example.flatlafdemo.components.tabbedPane;

import javax.swing.*;

public class TabbedPaneDemo extends JTabbedPane {

    public TabbedPaneDemo() {
        initPanel();
    }

    private void initPanel() {
        this.add("Tab 1", new JLabel("Tab 1"));
        this.add("Tab 2", new JLabel("Tab 2"));
        this.add("Tab 3", new JLabel("Tab 3"));
        this.add("Tab 4", new JLabel("Tab 4"));
    }
}
